﻿<%@ Page Language="C#" MasterPageFile="~/Master.Master" AutoEventWireup="true" CodeBehind="DSMon.aspx.cs"
    Inherits="HoaDon.DSMon" Title="Xem hóa đơn" %>

<asp:Content ID="cthoadon" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:Table runat="server" Width="1024px">
        <asp:TableRow>
            <asp:TableCell HorizontalAlign="Left">
                <asp:Label ID="lbTitle" runat="server" Text="CHI TIẾT HÓA ĐƠN" Font-Size="X-Large"
                    ForeColor="#990000">
                </asp:Label></asp:TableCell>
            <asp:TableCell HorizontalAlign="Right">
                <asp:Label ID="lbTongtien" runat="server" Text="TỔNG TIỀN HÀNG " Font-Size="Large" ForeColor="#009900">
                </asp:Label>
                <asp:TextBox ID="tbTongTien" runat="server" Width="170px" ReadOnly="true">
                </asp:TextBox>
            </asp:TableCell>
        </asp:TableRow>
    </asp:Table>
    <br />
    <asp:GridView ID="gdxdsmon" runat="server" AutoGenerateColumns="false" CssClass="GridViewInvoice">
        <Columns>
            <asp:TemplateField HeaderText="Mã" Visible="false">
                <ItemTemplate>
                    <asp:Label ID="FK_VtID" runat="server" Text='<%# Eval("FK_VtID") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Món">
                <ItemTemplate>
                    <asp:Label ID="VtName" runat="server" Text='<%# Eval("VtName") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Nguyên giá">
                <ItemTemplate>
                    <div style="text-align: right;">
                        <asp:Label ID="Nguyen_gia" runat="server" Text='<%# Eval("Nguyen_gia", "{0:#,#}") %>'></asp:Label>
                    </div>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Chiết khấu(%)">
                <ItemTemplate>
                    <div style="text-align: right;">
                        <asp:Label ID="Ck" runat="server" Text='<%# Eval("Ck", "{0:#,#}") %>'></asp:Label>
                    </div>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Giá">
                <ItemTemplate>
                    <div style="text-align: right;">
                        <asp:Label ID="Gia" runat="server" Text='<%# Eval("Gia", "{0:#,#}") %>'></asp:Label>
                    </div>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="SL">
                <ItemTemplate>
                    <div style="text-align: right;">
                        <asp:Label ID="So_luong" runat="server" Text='<%# Eval("So_luong", "{0:#,#}") %>'></asp:Label>
                    </div>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Thành Tiền">
                <ItemTemplate>
                    <div style="text-align: right;">
                        <asp:Label ID="Tien" runat="server" Text='<%# Eval("Tien", "{0:#,#}") %>'></asp:Label>
                    </div>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
</asp:Content>
